package com.yima.baseproj.module.sys.student.model;


import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serializable;

@Data
@ToString
@Builder
@NoArgsConstructor
@AllArgsConstructor


public class StudentExcel implements Serializable {
    @ExcelIgnore
    private int id;

    @ExcelProperty(value = "幼儿园名称", index = 0)
    private String kgName;
    @ExcelProperty(value = "班级名称", index = 1)
    private String className;
    @ExcelProperty(value = "学生姓名", index = 2)
    private String studentName;



    @ExcelIgnore
    private String studentAvatar;


    @ExcelProperty(value = "学生性别(1-男,2-女)", index = 3)
    private String studentSex;
    @ExcelProperty(value = "学生出生日期", index = 4)
    private String studentBirthday;

    public StudentExcel(String kgName, String className, String studentName,  String studentSex, String studentBirthday) {

        this.kgName = kgName;
        this.className = className;
        this.studentName = studentName;
        this.studentSex = studentSex;
        this.studentBirthday = studentBirthday;
    }
}
